package com.axend.aerosense.dev.entity;

import com.axend.aerosense.base.bean.BaseBean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Author: ChenHongWei
 * Date: 2021/3/5 10:07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
public class FirmwareInfoBean extends BaseBean {

//    private String radarUrl;  //固件下载地址
//    private String MD5;  //32位文件MD5值

    private RadarInfo radarInfo;

    @Data
    @EqualsAndHashCode(callSuper = true)
    @AllArgsConstructor
    public class RadarInfo extends BaseBean{
        private String version;  //固件版本号
        private boolean update;  //是否需要升级
        private String desc;    //更新日志
        private boolean upgrading;  //是否在升级中
    }

}
